<body>
Determines what command corresponds to the input and invokes the appropriate command class.
</body>